package cn.edu360.util;

import org.apache.commons.dbutils.QueryRunner;

import com.mchange.v2.c3p0.ComboPooledDataSource;

public class DBUtil {
	
	 static ComboPooledDataSource pool = new ComboPooledDataSource();
	/**
	 * 得动sql执行语句
	 * @return
	 */
	public static QueryRunner  getRunner () {
		QueryRunner runner = new QueryRunner(pool);
		return  runner;
	}
}
